<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<script type="text/javascript" src="{pyro:url:base}addons/default/themes/sbx/css/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="{pyro:url:base}addons/default/themes/sbx/css/accordation.js"></script>
<link href="{pyro:url:base}addons/default/themes/sbx/css/accordation.css" rel="stylesheet" type="text/css" />


<script type="text/javascript">
	$(document).ready(function() {
		$('.slideshow').cycle({
			fx: 'fade',
			pager: '#nav'
		});
		
		$('body').attr('id','default');
		$('#bottom1').show();
	});	
	
</script>

	<div id="feature">
			<div id="slide-show">
				<div id="nav" ></div>
				<div id="slideshow" class="slideshow">
					<?php 
						foreach($record_array['slide'] as $slide){
							if(isValidURL($slide->description)){
								echo "<a href='".$slide->description."'>"."<img src='".thumb(site_url()."uploads/default/files/".$slide->filename, 400, 295)."' />"."</a>";
							}else{
								echo "<img src='".thumb(site_url()."uploads/default/files/".$slide->filename, 400, 295)."' />";
							}
						}
					?>	
				</div> 
			</div>	
			
			<div id="introduct">
				<h1>{pyro:getpost:title id="1"}</h1>
				<p>
					{pyro:getpost:body id="1"}
				</p>
				
				<div class="clrboth"></div>
				<a href="<?php echo site_url('user/signin');?>" id="register">Get an Account</a>
				<a href="<?php echo site_url('user/login');?>" id="login">Login</a>
				
				<div class="clrboth"></div>
				<a href="<?php echo site_url('user/forgot_password');?>" id="forgot-passwd">Forgot password?</a>
			</div>
	</div>
	
	<div class="clrboth"></div>
		
	<div id="according-content">
		<div id="accordionGiftLelo" class="accordion">
		  <ul>
			  <li>
				<div class="a">
				  <div class="title"><img src="{pyro:url:base}addons/default/themes/sbx/css/images/tab1.png" /></div> <!-- <h212>{pyro12:getpost12:title12 id="3"}</h212> -->
				  <div class="wrap">
						<div class="title1">{pyro:getpost:intro id="3"}</div> 
						<div class="clrboth"></div>
						{pyro:getpost:body id="3"}
				  </div>
				</div>
			  </li>
			  <li>
				<div class="a" id="a1">
				   <div class="title"><img src="{pyro:url:base}addons/default/themes/sbx/css/images/tab2.png" /></div> <!-- <h212>{pyro12:getpost12:title id="4"}</h212> -->
				   <div class="wrap">
						<div class="title1">{pyro:getpost:intro id="4"}</div> 
						<div class="clrboth"></div>
						{pyro:getpost:body id="4"}
				    </div>
				</div>
			  </li>
			
			</ul>
		</div>
	</div>	
	